#ifndef _INFO_SAVE_H_
#define _INFO_SAVE_H_

struct STUDENT* info_read(char path[], int *t);
struct STUDENT*  info_write(struct STUDENT *head, int *t);


void prlist(struct STUDENT *h);

struct STUDENT* info_del(struct STUDENT *head, int *t);
void write_csv(char path[],struct STUDENT *head);
void modify_info(struct STUDENT* head);
struct STUDENT* sort_score(struct STUDENT *head, int t);




struct STUDENT
{
    char name[10];
    char gender[10];
    char  id[10];
    int  age;
    int  grade;
    float  score;
    struct STUDENT *next;

};


#endif
